package hello.aspect;

/**
 * Created by Administrator on 2017/8/24.
 */
public class AspectTest {

    public void out() {
        System.out.println("这是pointcut class");
    }

    public String outMessage(String user, String password) {
        System.out.println("user : " + user + "-- pwd : " + password);
        return "值:方法结束了";
    }

    public static void main(String[] args) {
        label:
        for (int i = 0;i<5;i++) {
            System.out.println("outer loop ");
            for (int j=0;j<5;j++) {
                System.out.println("inner loop");
                break ;
            }
        }
        System.out.println("end loop");
    }
}
